package lq.cloud.studyserversystem.properties;

import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

/**
 * @program: cloud-study
 * @description: system 服务配置类
 *
 * @author: LQ
 * @create: 2021-02-07 10:08
 */

@Data
@SpringBootConfiguration
@PropertySource(value = {"classpath:study-server-system.properties"})
@ConfigurationProperties(prefix = "study.server.system")
public class StudyServerSystemProperties {

    /**
     * swagger配置信息读取
     */
    private StudySwaggerProperties swagger = new StudySwaggerProperties();

    /**
     * 免认证 URI，多个值的话以逗号分隔
     */
    private String anonUrl;
}
